package com.fire.user.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * <p>
 * 客户表
 * </p>
 *
 * @author raoyuxing123
 * @since 2018-05-17
 */
@TableName("t_mit_client")
public class TMitClient extends Model<TMitClient> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "clientid", type = IdType.AUTO)
    private Integer clientid;
    /**
     * 创建时间
     */
    private Date createtime;
    /**
     * 更新时间
     */
    private Date updatetime;
    /**
     * 来源类型(1:注册,2:订单投保人,3:订单被保人,4:订单受益人,5:手工添加)
     */
    private String sourcetype;
    /**
     * 注册用户的关联关系
     */
    private String userid;
    /**
     * 客户姓名
     */
    private String clientName;
    /**
     * 性别 男0，女1,未知2
     */
    private Integer sex;
    /**
     * 是否有社保0，没有，1 有
     */
    private Integer Isssn;
    /**
     * 1 社保，2新农保
     */
    private Integer ssntype;
    /**
     * 社保号
     */
    private String ssn;
    /**
     * 邮件信息
     */
    private String clientEmail;
    /**
     * 联系地址信息
     */
    private String contactAddress;
    /**
     * 省
     */
    private String province;
    /**
     * 市
     */
    private String city;
    /**
     * 区
     */
    private String region;
    /**
     * 详细地址
     */
    private String subaddress;
    /**
     * 联系电话信息
     */
    private String contactPhone;
    /**
     * 国家信息
     */
    private String country;
    /**
     * 证件类型信息
     */
    private Integer idType;
    /**
     * 证件有效截止时间
     */
    private String idValidityDate;
    /**
     * 证件有效开始时间
     */
    private String idValidityStartDate;
    /**
     * 证件号码
     */
    private String idno;
    /**
     * 年收入
     */
    private String incomeYear;
    /**
     * 手机信息
     */
    private String mobilePhone;
    /**
     * 职业信息
     */
    private String occupation;
    /**
     * 银行账号
     */
    private String accountNo;
    /**
     * 银行大类
     */
    private String bankCategory;
    /**
     * 银行市代码
     */
    private String bankCity;
    /**
     * 银行中文名称
     */
    private String bankName;
    /**
     * 工作单位
     */
    private String workplace;


    public Integer getClientid() {
        return clientid;
    }

    public void setClientid(Integer clientid) {
        this.clientid = clientid;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public String getSourcetype() {
        return sourcetype;
    }

    public void setSourcetype(String sourcetype) {
        this.sourcetype = sourcetype;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getIsssn() {
        return Isssn;
    }

    public void setIsssn(Integer Isssn) {
        this.Isssn = Isssn;
    }

    public Integer getSsntype() {
        return ssntype;
    }

    public void setSsntype(Integer ssntype) {
        this.ssntype = ssntype;
    }

    public String getSsn() {
        return ssn;
    }

    public void setSsn(String ssn) {
        this.ssn = ssn;
    }

    public String getClientEmail() {
        return clientEmail;
    }

    public void setClientEmail(String clientEmail) {
        this.clientEmail = clientEmail;
    }

    public String getContactAddress() {
        return contactAddress;
    }

    public void setContactAddress(String contactAddress) {
        this.contactAddress = contactAddress;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getSubaddress() {
        return subaddress;
    }

    public void setSubaddress(String subaddress) {
        this.subaddress = subaddress;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public Integer getIdType() {
        return idType;
    }

    public void setIdType(Integer idType) {
        this.idType = idType;
    }

    public String getIdValidityDate() {
        return idValidityDate;
    }

    public void setIdValidityDate(String idValidityDate) {
        this.idValidityDate = idValidityDate;
    }

    public String getIdValidityStartDate() {
        return idValidityStartDate;
    }

    public void setIdValidityStartDate(String idValidityStartDate) {
        this.idValidityStartDate = idValidityStartDate;
    }

    public String getIdno() {
        return idno;
    }

    public void setIdno(String idno) {
        this.idno = idno;
    }

    public String getIncomeYear() {
        return incomeYear;
    }

    public void setIncomeYear(String incomeYear) {
        this.incomeYear = incomeYear;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

    public String getOccupation() {
        return occupation;
    }

    public void setOccupation(String occupation) {
        this.occupation = occupation;
    }

    public String getAccountNo() {
        return accountNo;
    }

    public void setAccountNo(String accountNo) {
        this.accountNo = accountNo;
    }

    public String getBankCategory() {
        return bankCategory;
    }

    public void setBankCategory(String bankCategory) {
        this.bankCategory = bankCategory;
    }

    public String getBankCity() {
        return bankCity;
    }

    public void setBankCity(String bankCity) {
        this.bankCity = bankCity;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getWorkplace() {
        return workplace;
    }

    public void setWorkplace(String workplace) {
        this.workplace = workplace;
    }

    @Override
    protected Serializable pkVal() {
        return this.clientid;
    }

    @Override
    public String toString() {
        return "TMitClient{" +
        "clientid=" + clientid +
        ", createtime=" + createtime +
        ", updatetime=" + updatetime +
        ", sourcetype=" + sourcetype +
        ", userid=" + userid +
        ", clientName=" + clientName +
        ", sex=" + sex +
        ", Isssn=" + Isssn +
        ", ssntype=" + ssntype +
        ", ssn=" + ssn +
        ", clientEmail=" + clientEmail +
        ", contactAddress=" + contactAddress +
        ", province=" + province +
        ", city=" + city +
        ", region=" + region +
        ", subaddress=" + subaddress +
        ", contactPhone=" + contactPhone +
        ", country=" + country +
        ", idType=" + idType +
        ", idValidityDate=" + idValidityDate +
        ", idValidityStartDate=" + idValidityStartDate +
        ", idno=" + idno +
        ", incomeYear=" + incomeYear +
        ", mobilePhone=" + mobilePhone +
        ", occupation=" + occupation +
        ", accountNo=" + accountNo +
        ", bankCategory=" + bankCategory +
        ", bankCity=" + bankCity +
        ", bankName=" + bankName +
        ", workplace=" + workplace +
        "}";
    }
}
